Automattic\Jetpack\Classic_Theme_Helper\Jetpack_Testimonial C

Total Complexity 103
Dependencies 9
Dependents 1
Total lines 848
Lines of code 527
Logical lines of code 198
Comment lines 232
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
maybe_register_cpt()
B
43 17 42
jetpack_testimonial_shortcode()
A
41 13 54
jetpack_testimonial_shortcode_html()
A
43 6 55
get_testimonial_class()
S
54 6 20
coerce_testimonial_image_to_url()
S
61 6 13
customize_register()
S
41 2 69
register_post_types()
S
43 2 52
update_option_stat_bump()
S
66 5 8
setting_html()
S
52 3 26
updated_messages()
S
47 2 38
query_reading_setting()
S
67 4 8
infinite_scroll_click_posts_per_page()
S
67 4 7
settings_api_init()
S
56 2 21
site_supports_custom_post_type()
S
69 3 6
flush_rules_on_first_testimonial()
S
63 3 10
__construct()
S
63 3 10
count_testimonials()
S
63 3 10
deactivation_post_type_support()
S
61 2 13
add_customize_page()
S
60 1 15
init()
S
69 2 7
change_default_title()
S
70 2 6
activation_post_type_support()
S
70 2 6
flush_rules_on_switch()
S
75 2 5
get_testimonial_thumbnail_link()
S
71 2 5
edit_title_column_label()
S
75 1 4
add_to_sitemap()
S
76 1 4
flush_rules_on_enable()
S
82 1 3
new_testimonial_stat_bump()
S
79 1 3
new_activation_stat_bump()
S
79 1 3
allow_cpt_rest_api_type()
S
76 1 4